import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import Router from 'vue-router'
import ElementUI from 'element-ui';
import moment from 'moment'
import store from './store'
import './assets/reset/reset.css';
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/fonts/fonts.css'
Vue.config.productionTip = false;
const routerPush = Router.prototype.push;
Router.prototype.push = function push(location) {//防止出现重复的路由报错
	return routerPush.call(this, location).catch(error => error)
};
Vue.prototype.$moment = moment;

Vue.use(ElementUI);
new Vue({
	store,
	router,
	render: h => h(App),
}).$mount('#app');
